package com.fxkj.cloud.drms.ui.emqx;


import com.fxkj.cloud.drms.ui.emqx.model.EmqxLoginResult;
import com.fxkj.cloud.drms.ui.emqx.model.EmqxUser;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.service.annotation.HttpExchange;
import org.springframework.web.service.annotation.PostExchange;

@HttpExchange(accept = "application/json", contentType = "application/json")
public interface EmqxClient {
    @PostExchange("api/v5/login")
    EmqxLoginResult login(@RequestBody EmqxUser emqxUser);
}
